package io.zhifei.modules.app.login.form;/**
 * <p>  </p>
 *
 * @author： WangPeng <br/>
 * @date： 2020/9/2$ 9:59$ <br/>
 * @version： <br/>
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>  </p>
 *
 * @author： WangPeng <br/>
 * @date： 2020/9/2$ 9:59$ <br/>
 * @version： <br/>
 */
@Data
@ApiModel(value = "登录表单")
public class UserFrom {
    @ApiModelProperty(value = "用户id号")
    @NotBlank(message = "id号不能为空")
    private String userId;

    @ApiModelProperty(value = "账号名称")
    @NotBlank(message = "手机号不能为空")
    private String userName;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
